<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <jsp:include page="/static/common/common.jsp"/>
    <!--salary js代码-->
    <script src="/static/js/salary.js"></script>
    <title>工资管理</title>
</head>
<body>
<%--数据表格--%>
<table id="salary_datagrid">
</table>

<%--salary_toolbar工具框--%>
<div id="salary_toolbar">
    <a class="easyui-linkbutton" iconCls="icon-edit1" plain="true"
       data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" iconCls="icon-delete" plain="true"
       data-cmd="remove">删除</a>
    <a class="easyui-linkbutton" iconCls="icon-reload1" plain="true"
       data-cmd="reload">刷新</a>
    <%--模糊查询--%>
    <input id="keyword" class="easyui-textbox" prompt="请输入员工姓名">

    <%--根据时间查询--%>
    <input class="easyui-datebox" id="beginDate"/> -
    <input class="easyui-datebox" id="endDate"/>

    <%--查询--%>
    <a class="easyui-linkbutton" iconCls="icon-query" plain="true"
       data-cmd="query">查询</a>

    <%--导出--%>
    <a class="easyui-linkbutton" plain="true" iconcls="icon-export1" onclick=window.open("/salary/exportXls.do")>导出</a>

    <%--导入--%>
    <form action="/salary/importXls.do" method="post" enctype="multipart/form-data">
        <input type="file" name="file"/>
        <input type="submit" value="上传"/>
    </form>
</div>

<%--弹出框--%>
<div id="salary_dialog" align="center">7
    <form id="salary_form" method="post">
        <input type="hidden" name="id" id="salaryId">
        <table align="center" style="margin-top: 15px">
            <tbody>
                <tr>
                    <td>员工姓名:</td>
                    <td><input name="empName.username" class="easyui-textbox">
                    </td>
                </tr>
                <tr>
                    <td>员工基础工资:</td>
                    <td><input name="basicsalary" class="easyui-textbox"></td>
                </tr>
                <tr>
                    <td>月份:</td>
                    <td><input name="month" class="easyui-datebox"></td>
                </tr>
            </tbody>
        </table>
    </form>
</div>
</body>
</html>
